#ifndef __SW_BACKGROUND_H__
#define __SW_BACKGROUND_H__

#include <allegro5\allegro.h>
#include <allegro5\allegro_image.h>
#include <allegro5\allegro_primitives.h>

class sw_background {
	ALLEGRO_BITMAP* bitmap;
	float scrolling_factor; // 1 scrolls exactly with topleftx and toplefty, 0 doesn't scroll at all
public:
	sw_background(char* filename);
	~sw_background();
	void draw_on_screen(float topleftx, float toplefty);
};

#endif